<?php
    require_once 'classes/Login.php';
    require_once 'classes/JobPost.php';
    $Login = new Login;
    $JobPost = new JobPost;
    include 'includes/header.inc.php';
	$catID = 0;
?>
    <div id="contentBox">
        <section id="advancedSearch">
            <h2>Advanced Search</h2>
            <form id="advSearch" action="#">
                <div id="leftAdvS" class="advS">
                    <label for="what">what</label>
                    <input id="what" type="text" />
                    <small>Job title, keywords, or company name</small>
                </div>
                <div id="centerAdvS" class="advS">
                    <label for="where">where</label>
                    <input id="where" type="text" />
                    <small>City, State, or Zip (Optional)</small>
                </div>
                <div id="rightAdvS" class="advS">
                    <input type="submit" name="advSearch" id="advSearch" class="button" value="Find Jobs" />
                </div>
            </form>
        </section>
        <hr />
        <section id="standardSearch">
            <h1 style="font-weight:bold;">Search our Jobs</h1>
            <div id="form" class="homeForm">
                <form id="searchHome" action="search.php" method="get">
                    <p style="height:40px;">
                        <?php echo $JobPost->getCountries(); ?>
                    </p>
                    <p class="homeState">
                        <label for="state">State: </label>
                        <select name="state1" id="state1" class="state" >
                            <option>  </option>
                        </select>
                    </p>
                    <p class="homeCity">
                        <label for="city">City: </label>
                        <input type="text" name="city" id="city" class="input">
                    </p>
                    <p class="homeState">
                        <?php echo $JobPost->getCategories('home',$catID); ?>
                    </p>
                    <p>
                        <a href="javascript:void(0)" id="searchButton"></a>
                    </p>
                </form>
                <div>
                    <div id="loading"><img src="/sandbox1/media/images/loader.gif" alt="Loading..." /></div>
                    <div id="feedback"></div>
                </div>
            </div>
        </section>
    </div>
    <div class="bannerAd">
        <a href="#" class="banAd"><img src="/sandbox1/media/images/bannerAd.jpg" alt="Banner Ad"/></a>
    </div>
<?php include 'includes/footer.inc.php';?>